package cc.taofoo.generic;


import java.util.List;

public class Node<T> {
     T value;
    public Node(){

    }

    public Node(T value) {
        this.value = value;
    }

    public T getValue() {
        return value;
    }

    public void setValue(T value) {
        this.value = value;
    }

    public static  <T> T createValueStatic(Class<T> c) throws IllegalAccessException, InstantiationException {
        return c.newInstance();
    }

    public T createValueNormal(Class<T> c) throws IllegalAccessException, InstantiationException {
        return c.newInstance();
    }


    public <T> T createValue(T t){
        return t;
    }



}


